package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Checklist;
import cn.wolfcode.crm.domain.Paylist;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaylistMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Paylist record);

    Paylist selectByPrimaryKey(Long id);

    List<Paylist> selectAll();

    int updateByPrimaryKey(Paylist record);

    List<Paylist> queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);

    void changeState(@Param("id") Long id, @Param("status") Integer status);
}